package com.Jiang.dao.OrderItem;

import com.Jiang.pojo.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderItemMapper {
    //添加商品
    int addItem(Map map);
    //查询所有物品(商家)
    List<OrderItem> queryAllOrderItems(Map map);
    //查询所有物品(用户)
    List<OrderItem> selectItemsByOrderId(@Param("orderId") int orderId);
}
